package com.wzh.project.webservice.server;

import java.io.IOException;

import javax.xml.ws.Endpoint;

import com.wzh.project.webservice.service.WebServiceHello3;

/**
 * 服务启动端
 * @author wzh
 *
 */
public class Server3 {
	//private static final Logger logger=LogManager.getLogger(Server.class);
	public static void main(String[] args) {
		String address="http://127.0.0.1:9529/webservice/hello";
		Endpoint.publish(address, new WebServiceHello3());
		System.out.println("发布成功,访问地址为:"+address+"?wsdl");
		//logger.debug("发布成功,访问地址为:"+address+"?wsdl");
		try {
			System.in.read();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
